class CreateProfiles < ActiveRecord::Migration
  def up
    create_table :profiles do |t|
      t.string :name
      t.string :surname
      t.string :email
      t.string :phone

      t.timestamps
    end
	
	add_column :users, :profile_id, :integer
  end
  
  def down
    drop_table :profiles
    remove_column :users, :profile_id
  end
end
